<?php if (!defined('THINK_PATH')) exit();?><!-- 引入头文件 -->
<?php if(session('en')): ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php if($getConf['title'] != ''): echo ($getConf["title"]); endif; ?></title>
<meta name="keywords" content="<?php echo ($getConf["keywords"]); ?>"/>
<meta name="description" content="<?php echo ($getConf["description"]); ?>"/>
<link href="/Public/index/skin/style.css" rel="stylesheet" type="text/css" />
<script src="/Public/index/skin/js/focus.js" type="text/javascript"></script>

<!-- 导航栏 -->
<!-- <link type="text/css" href="/Public/index/css/16sucai.css" rel="stylesheet" /> -->
<!--[if lt IE 9]>
  <script src="js/html5.js"></script>
<![endif]-->
<script type="text/javascript" src="/Public/index/js/jquery.js"></script>
<script type="text/javascript" src="/Public/index/js/jquery.color-rgba-patch.js"></script>
<script type="text/javascript" src="/Public/index/js/example.js"></script>
<!-- 导航栏 -->


</head>
<body>
  

<div class="Header" >
    <div class="logo" >
      <a href="#">
      <img src="<?php echo ($getConf["logo_img"]); ?>" alt="LOGO is Missing" height="80" />
      </a>
    </div>
    <div class="r">
      <a href="<?php echo U('Index/index');?>" class="cn">简体中文</a>
      <a href="<?php echo U('Index/en_index');?>" class="en">English</a>

      <span>
      <form action="" name="search" id="search" onsubmit="javascript:return search_add();">
      <input type="text" name="keyword" id="keyword" class="input" onClick="JavaScript:this.value='';" onMouseOver="JavaScript:this.select();" value="产品搜索" />
      <input type="submit" name="button" id="button" value="" class="but" />
    </form>
     </span>
  </div>

    <!-- 导航条 -->
    <div class="nav">
    	<ul>
        	<li><a href="<?php echo U('Index/en_index');?>" class="tag">Home</a></li>
            <li><a href="<?php echo U('Company/about');?>">About Us</a></li>
            <li><a href="<?php echo U('Products/productsAll');?>">Products</a></li>
            <li><a href="<?php echo U('Company/news');?>">News</a></li>
            <li><a href="<?php echo U('Company/order');?>">Orders</a></li>
            <li><a href="<?php echo U('Company/feedback');?>">Feedback</a></li>
            <li><a href="<?php echo U('Company/contact');?>">ContactUs</a></li>
        </ul>
    </div>
  
  </div>

<script type="text/javascript" src="/Public/index/skin/js/jquery.js"></script>
<div class="flash">
<div id="slide-index">
        <div class="FlashIco">
        <div class="control"><a href="javascript:void(0);" class="active"></a><a href="javascript:void(0);" class=""></a><a href="javascript:void(0);" class=""></a></div>
        </div>
        <div class="slides">
    <div class="slide autoMaxWidth">        
      <div class="image" id='bi_0'><a href="index.html#"><img src="/Public/banners/<?php echo ($getConf["banner1"]); ?>" /></a></div>      
      <div class="text" id='bt_0'></div>
      <div class="button" id='bb_0'></div>
    </div>
    <div class="slide autoMaxWidth">        
      <div class="image" id='bi_1'><a href="index.html#"><img src="/Public/banners/<?php echo ($getConf["banner2"]); ?>" /></a></div>      
      <div class="text" id='bt_1'></div>
      <div class="button" id='bb_1'></div>
    </div>
    <div class="slide autoMaxWidth">        
      <div class="image" id='bi_2'><a href="index.html#"><img src="/Public/banners/<?php echo ($getConf["banner3"]); ?>" /></a></div>      
      <div class="text" id='bt_2'></div>
      <div class="button" id='bb_2'></div>
    </div>
    </div>
</div>
</div>
<script type="text/javascript" src="/Public/index/skin/js/banner.js"></script>

<?php else: ?>
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php if($getConf['title'] != ''): echo ($getConf["title"]); endif; ?></title>
<meta name="keywords" content="<?php echo ($getConf["keywords"]); ?>"/>
<meta name="description" content="<?php echo ($getConf["description"]); ?>"/>
<link href="/Public/index/skin/style.css" rel="stylesheet" type="text/css" />
<script src="/Public/index/skin/js/focus.js" type="text/javascript"></script>

<!-- 导航栏 -->
<!-- <link type="text/css" href="/Public/index/css/16sucai.css" rel="stylesheet" /> -->
<!--[if lt IE 9]>
  <script src="js/html5.js"></script>
<![endif]-->
<script type="text/javascript" src="/Public/index/js/jquery.js"></script>
<script type="text/javascript" src="/Public/index/js/jquery.color-rgba-patch.js"></script>
<script type="text/javascript" src="/Public/index/js/example.js"></script>
<!-- 导航栏 -->


</head>
<body>
  

<div class="Header" >
    <div class="logo" >
      <a href="#">
      <img src="<?php echo ($getConf["logo_img"]); ?>" alt="LOGO建设中！" height="80" />
      </a>
    </div>
    <div class="r">
      <a href="<?php echo U('Index/index');?>" class="cn">简体中文</a>
      <a href="<?php echo U('Index/en_index');?>" class="en">English</a>

      <span>
      <form action="" name="search" id="search" onsubmit="javascript:return search_add();">
      <input type="text" name="keyword" id="keyword" class="input" onClick="JavaScript:this.value='';" onMouseOver="JavaScript:this.select();" value="产品搜索" />
      <input type="submit" name="button" id="button" value="" class="but" />
    </form>
     </span>
  </div>

    <!-- 导航条 -->
    <div class="nav">
    	<ul>
        	<li><a href="<?php echo U('Index/index');?>" class="tag">首页</a></li>
            <li><a href="<?php echo U('Company/about');?>">关于我们</a></li>
            <li><a href="<?php echo U('Products/productsAll');?>">产品展示</a></li>
            <li><a href="<?php echo U('Company/news');?>">新闻资讯</a></li>
            <li><a href="<?php echo U('Company/order');?>">在线订单</a></li>
            <li><a href="<?php echo U('Company/feedback');?>">客户反馈</a></li>
            <li><a href="<?php echo U('Company/contact');?>">联系我们</a></li>
        </ul>
    </div>
  
  </div>

<script type="text/javascript" src="/Public/index/skin/js/jquery.js"></script>
<div class="flash">
<div id="slide-index">
        <div class="FlashIco">
        <div class="control"><a href="javascript:void(0);" class="active"></a><a href="javascript:void(0);" class=""></a><a href="javascript:void(0);" class=""></a></div>
        </div>
        <div class="slides">
    <div class="slide autoMaxWidth">        
      <div class="image" id='bi_0'><a href="index.html#"><img src="/Public/banners/<?php echo ($getConf["banner1"]); ?>" /></a></div>      
      <div class="text" id='bt_0'></div>
      <div class="button" id='bb_0'></div>
    </div>
    <div class="slide autoMaxWidth">        
      <div class="image" id='bi_1'><a href="index.html#"><img src="/Public/banners/<?php echo ($getConf["banner2"]); ?>" /></a></div>      
      <div class="text" id='bt_1'></div>
      <div class="button" id='bb_1'></div>
    </div>
    <div class="slide autoMaxWidth">        
      <div class="image" id='bi_2'><a href="index.html#"><img src="/Public/banners/<?php echo ($getConf["banner3"]); ?>" /></a></div>      
      <div class="text" id='bt_2'></div>
      <div class="button" id='bb_2'></div>
    </div>
    </div>
</div>
</div>
<script type="text/javascript" src="/Public/index/skin/js/banner.js"></script><?php endif; ?>

<script type="text/javascript">
    // 传递页码
    function page(pageNo,pageSize){

      if(pageNo)

        $("input[name='pageNo']").val(pageNo);

      if(pageSize)

        $("input[name='pageSize']").val(pageSize);

      $("#searchForm").submit();

    }
</script>

<div class="Content">
<!-- 类目 -->
	<?php if(session('en')): ?><!-- 目录列表 -->
<div class="ContentLeft">
    	<div class="menu">
        	<h3>Category</h3>
            <ul id="nav">
              <?php if(is_array($getCate)): foreach($getCate as $key=>$cate1): ?><li class="no">
                <a href="<?php echo U('Products/products',array('cateid'=>$cate1['id']));?>"><?php echo ($cate1["encatename"]); ?></a>
                    <!-- 如果没有子目录则不显示二级目录 -->
                    <?php  if(!empty($cate1['sub']) && is_array($cate1['sub'])){ ?>
                        <ul>

                          <?php if(is_array($cate1['sub'])): foreach($cate1['sub'] as $key=>$cate2): ?><li><a href="<?php echo U('Products/products',array('cateid'=>$cate2['id']));?>"><?php echo ($cate2["encatename"]); ?></a></li><?php endforeach; endif; ?>
                                              
                        </ul>
                      <?php  } ?>
      
              </li><?php endforeach; endif; ?>
	
	
	         </ul>
      </div>
    </div>
  <?php else: ?>
     <!-- 目录列表 -->
<div class="ContentLeft">
    	<div class="menu">
        	<h3>产品分类</h3>
            <ul id="nav">
              <?php if(is_array($getCate)): foreach($getCate as $key=>$cate1): ?><li class="no">
                <a href="<?php echo U('Products/products',array('cateid'=>$cate1['id']));?>"><?php echo ($cate1["catename"]); ?></a>
                    <!-- 如果没有子目录则不显示二级目录 -->
                    <?php  if(!empty($cate1['sub']) && is_array($cate1['sub'])){ ?>
                        <ul>

                          <?php if(is_array($cate1['sub'])): foreach($cate1['sub'] as $key=>$cate2): ?><li><a href="<?php echo U('Products/products',array('cateid'=>$cate2['id']));?>"><?php echo ($cate2["catename"]); ?></a></li><?php endforeach; endif; ?>
                                              
                        </ul>
                      <?php  } ?>
      
              </li><?php endforeach; endif; ?>
	
	
	         </ul>
      </div>
    </div><?php endif; ?>


	<div class="ContentRight">
		<!-- 面包屑 -->
    	 <?php if(session('en')): ?><div class="Links"><h2>Product Center</h2><a href="<?php echo U('Index/en_index');?>">Home</a> > <a href="<?php echo U('Products/productsAll');?>">Product Show</a></div>
      <?php else: ?>
        <div class="Links"><h2>产品中心</h2><a href="<?php echo U('Index/index');?>">首页</a> > <a href="<?php echo U('Products/productsAll');?>">产品展示</a></div><?php endif; ?>
        <div class="Productslist">
       


        <ul>
        	<!-- 产品循环展示 -->
        	<?php $i=1; ?>
            <?php if(is_array($getProductList)): foreach($getProductList as $key=>$v): ?><li <?php $i++; if($i%4==0) echo "class='r'"; ?> >
                    <a href="<?php echo U('Products/view',array('id'=>$v['id']));?>">
                      <img src="<?php echo ($v["product_img"]); ?>" /><?php echo ($v["name"]); ?>
                    </a>
                </li><?php endforeach; endif; ?>
			
 		</ul>

        </div>

        

    </div>
    <!-- 引入分页功能 -->
    <form id="searchForm" method="post" action="">
        <!-- 传递页码的标签 -->
         <input type="hidden" name="pageNo" value="<?php echo ($pageNo); ?>"/>
         <input type="hidden" name="pageSize" value="<?php echo ($pageSize); ?>"/>
         
   <!--       翻页功能           -->
   <link rel="shortcut icon" href="favicon.ico"> 
    <link href="/Public/css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">

    <link href="/Public/css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">

    <link href="/Public/css/plugins/iCheck/custom.css" rel="stylesheet">

    <link href="/Public/css/animate.min.css" rel="stylesheet">

    <link href="/Public/css/style.min862f.css?v=4.1.0" rel="stylesheet">

    <link href="/Public/css/page.css" rel="stylesheet">

    <link href="/Public/css/new.css" rel="stylesheet">


  <!-- 分页代码 -->

<div class="fixed-table-pagination" style="display: block;margin-top:30px;">
  <div class="pull-left pagination-detail">
    <span class="pagination-info"><?php if(session('en')): ?>Page-Size is:<?php else: ?>显示第 1 到第<?php endif; ?> <?php echo ($count["pageSize"]); ?> <?php if(session('en')): ?>&nbsp;&nbsp;<?php else: ?>条记录，<?php endif; if(session('en')): ?>| &nbsp;&nbsp;Total <?php else: ?>总共<?php endif; echo ($count["count"]); ?> <?php if(session('en')): ?>Records&nbsp;&nbsp;|<?php else: ?>条记录<?php endif; ?></span>
    <span class="page-list">
      <?php if(session('en')): ?>&nbsp;&nbsp;Each Page 
      <?php else: ?>
        每页显示<?php endif; ?>
      <span class="btn-group dropup">
        <button type="button" class="btn btn-default  btn-outline dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
          <span class="page-size"><?php echo ($count["pageSize"]); ?></span> <span class="caret"></span></button>
          <ul class="dropdown-menu" role="menu">
          <li class="<?php if( $count["pageSize"] == 10): ?>active<?php endif; ?>"><a href="javascript:page(1,10,'');">10</a></li>
          <li class="<?php if( $count["pageSize"] == 25): ?>active<?php endif; ?>"><a href="javascript:page(1,25,'');">25</a></li>
          <li class="<?php if( $count["pageSize"] == 50): ?>active<?php endif; ?>"><a href="javascript:page(1,50,'');">50</a></li>
          <li class="<?php if( $count["pageSize"] == 100): ?>active<?php endif; ?>"><a href="javascript:page(1,100,'');">100</a></li>
          </ul>
          </span> <?php if(session('en')): ?>Records<?php else: ?>条记录<?php endif; ?></span>
        </div>


        <div class="pagination-roll" ><!--pull-right-->
          <ul class="pagination pagination-outline" style="float:left;padding-left: 20px; margin-top: 5px;">
            <li class="paginate_button <?php if($count["pageNo"] == 1): ?>previous disabled<?php endif; ?>"><a href="javascript:" onClick="page(1,<?php echo ($count["pageSize"]); ?>,'');"><i class="fa fa-angle-double-left"></i></a></li>
            <li class="paginate_button <?php if($count["pageNo"] == 1): ?>previous disabled<?php endif; ?>"><a href="javascript:" onClick="page(<?php echo ($count["pageNo"]); ?>-1,<?php echo ($count["pageSize"]); ?>,'');"><i class="fa fa-angle-left"></i></a></li>
             <?php if($count["countpage"] > 10 ): if($count["pageNo"] < 5 ): ?><li class="paginate_button "><a href="javascript:" onClick="page(1,<?php echo ($count["pageSize"]); ?>,'');" id="<?php echo ($count['pageNo']==1)?'current':'' ?>">1</a></li>
                <li class="paginate_button "><a href="javascript:" onClick="page(2,<?php echo ($count["pageSize"]); ?>,'');" id="<?php echo ($count['pageNo']==2)?'current':'' ?>">2</a></li>
                <li class="paginate_button "><a href="javascript:" onClick="page(3,<?php echo ($count["pageSize"]); ?>,'');" id="<?php echo ($count['pageNo']==3)?'current':'' ?>">3</a></li>
                <li class="paginate_button "><a href="javascript:" onClick="page(4,<?php echo ($count["pageSize"]); ?>,'');" id="<?php echo ($count['pageNo']==4)?'current':'' ?>">4</a></li>
                <li class="paginate_button "><a href="javascript:" onClick="page(5,<?php echo ($count["pageSize"]); ?>,'');" id="<?php echo ($count['pageNo']==5)?'current':'' ?>">5</a></li>
                <li class="paginate_button "><a href="javascript:" onClick="page(6,<?php echo ($count["pageSize"]); ?>,'');" id="<?php echo ($count['pageNo']==6)?'current':'' ?>">6</a></li>
                <li class="paginate_button "><a href="javascript:" onClick="page(7,<?php echo ($count["pageSize"]); ?>,'');" id="<?php echo ($count['pageNo']==7)?'current':'' ?>">7</a></li>
                <li class="paginate_button "><a href="javascript:" onClick="page(8,<?php echo ($count["pageSize"]); ?>,'');" id="<?php echo ($count['pageNo']==8)?'current':'' ?>">8</a></li>
                <li class="paginate_button disabled"><a href="javascript:">...</a></li>
                <li class="paginate_button "><a href="javascript:" onClick="page(<?php echo ($count["countpage"]); ?>,<?php echo ($count["pageSize"]); ?>,'');"><?php echo ($count["countpage"]); ?></a></li>
              <?php elseif($count["pageNo"] < $count["num"] and $count["pageNo"] >= 5): ?>
                <li class="paginate_button "><a href="javascript:" onClick="page(1,<?php echo ($count["pageSize"]); ?>,'');">1</a></li>
                <li class="paginate_button disabled"><a href="javascript:">...</a></li>
                <li class="paginate_button "><a href="javascript:" onClick="page(<?php echo $count['pageNo']-3; ?>,<?php echo ($count["pageSize"]); ?>,'');"><?php echo $count['pageNo']-3; ?></a></li>
                <li class="paginate_button "><a href="javascript:" onClick="page(<?php echo $count['pageNo']-2; ?>,<?php echo ($count["pageSize"]); ?>,'');"><?php echo $count['pageNo']-2; ?></a></li>
                <li class="paginate_button "><a href="javascript:" onClick="page(<?php echo $count['pageNo']-1; ?>,<?php echo ($count["pageSize"]); ?>,'');"><?php echo $count['pageNo']-1; ?></a></li>
                <li class="paginate_button "><a href="javascript:" onClick="page(<?php echo ($count["pageNo"]); ?>,<?php echo ($count["pageSize"]); ?>,'');" id='current'><?php echo $count['pageNo']; ?></a></li>
                <li class="paginate_button "><a href="javascript:" onClick="page(<?php echo $count['pageNo']+1; ?>,<?php echo ($count["pageSize"]); ?>,'');"><?php echo $count['pageNo']+1; ?></a></li>
                <li class="paginate_button "><a href="javascript:" onClick="page(<?php echo $count['pageNo']+2; ?>,<?php echo ($count["pageSize"]); ?>,'');"><?php echo $count['pageNo']+2; ?></a></li>
                <li class="paginate_button "><a href="javascript:" onClick="page(<?php echo $count['pageNo']+3; ?>,<?php echo ($count["pageSize"]); ?>,'');"><?php echo $count['pageNo']+3; ?></a></li>
                <li class="paginate_button disabled"><a href="javascript:">...</a></li>
                <li class="paginate_button "><a href="javascript:" onClick="page(<?php echo ($count["countpage"]); ?>,<?php echo ($count["pageSize"]); ?>,'');"><?php echo ($count["countpage"]); ?></a></li>
              <?php else: ?>
                <li class="paginate_button "><a href="javascript:" onClick="page(1,<?php echo ($count["pageSize"]); ?>,'');">1</a></li>
                <li class="paginate_button disabled"><a href="javascript:">...</a></li>
                <li class="paginate_button "><a href="javascript:" onClick="page(<?php echo $count['countpage']-4; ?>,<?php echo ($count["pageSize"]); ?>,'');" id="<?php echo ($count['pageNo']==($count['countpage']-4))?'current':'' ?>"><?php echo $count['countpage']-4; ?></a></li>
                <li class="paginate_button "><a href="javascript:" onClick="page(<?php echo $count['countpage']-3; ?>,<?php echo ($count["pageSize"]); ?>,'');" id="<?php echo ($count['pageNo']==($count['countpage']-3))?'current':'' ?>"><?php echo $count['countpage']-3; ?></a></li>
                <li class="paginate_button "><a href="javascript:" onClick="page(<?php echo $count['countpage']-2; ?>,<?php echo ($count["pageSize"]); ?>,'');" id="<?php echo ($count['pageNo']==($count['countpage']-2))?'current':'' ?>"><?php echo $count['countpage']-2; ?></a></li>
                <li class="paginate_button "><a href="javascript:" onClick="page(<?php echo $count['countpage']-1; ?>,<?php echo ($count["pageSize"]); ?>,'');" id="<?php echo ($count['pageNo']==($count['countpage']-1))?'current':'' ?>"><?php echo $count['countpage']-1; ?></a></li>
                <li class="paginate_button "><a href="javascript:" onClick="page(<?php echo $count['countpage']; ?>,<?php echo ($count["pageSize"]); ?>,'');" id="<?php echo ($count['pageNo']==$count['countpage'])?'current':'' ?>"><?php echo $count['countpage']; ?></a></li><?php endif; ?>
            <?php else: ?>
              <?php $__FOR_START_144391735__=0;$__FOR_END_144391735__=$count["countpage"];for($i=$__FOR_START_144391735__;$i < $__FOR_END_144391735__;$i+=1){ ?><li class="paginate_button <?php if( $count["pageNo"] == $i+1): ?>previous disabled<?php endif; ?>"><a href="javascript:" onClick="page(<?php echo ($i+1); ?>,<?php echo ($count["pageSize"]); ?>,'');" id="<?php echo ($count['pageNo']==($i+1))?'current':'' ?>"><?php echo ($i+1); ?></a></li><?php } endif; ?>
            <li class="paginate_button next <?php if( $count["pageNo"] >= $count.countpage): ?>previous disabled<?php endif; ?>"><a href="javascript:" onClick="page(<?php echo ($count["pageNo"]); ?>+1,<?php echo ($count["pageSize"]); ?>,'');"><i class="fa fa-angle-right"></i></a></li>
            <li class="paginate_button next <?php if( $count["pageNo"] >= $count.countpage): ?>previous disabled<?php endif; ?>"><a href="javascript:" onClick="page(<?php echo ($count["countpage"]); ?>,<?php echo ($count["pageSize"]); ?>,'');"><i class="fa fa-angle-double-right"></i></a></li>
          </ul>
                  

        </div>

    
  </div>
</div>
<script src="/Public/js/jquery.min63b9.js?v=2.1.4"></script>
<script src="/Public/js/bootstrap.min14ed.js?v=3.3.6"></script>
    </form>
    <!-- 分页结束 -->
	<div class="clr"></div>

</div>


<div class="Foot" style="position: relative;z-index: 99;margin-bottom: 0;">
<a href="<?php echo U('Company/about');?>">公司简介</a>|<a href="culture.html">企业文化</a>|<a href="service.html">售后服务</a>|<a href="feedback.html">客户留言</a>|<a href="order.html">在线定单</a>|<a href="<?php echo U('Company/contact');?>">联系方式</a><br />
<?php echo ($getConf["bottom_info"]); ?>
<br></div>

<!-- <div style="z-index: 999; position: absolute; width: 120px; visibility: visible; top: 130px; right: 5px" id="lovexin14">
<div class="top"><img style="cursor: pointer" border="0" width="120" onclick="document.getElementById('lovexin14').style.display='none';return false;" alt="在线QQ" src="/Public/index/skin/img/qq_top.gif" /></div>
<div class="qq">
	<ul>
    	<li>客服1<a target="blank" href="tencent://message/?uin=<?php echo ($getConf["custom_qq1"]); ?>&amp;Site=在线客服&amp;Menu=yes"><img src="http://wpa.qq.com/pa?p=1:<?php echo ($getConf["custom_qq1"]); ?>:7" /></a></li>
        <li>客服2<a target="blank" href="tencent://message/?uin=<?php echo ($getConf["custom_qq2"]); ?>&amp;Site=在线客服&amp;Menu=yes"><img src="http://wpa.qq.com/pa?p=1:<?php echo ($getConf["custom_qq2"]); ?>:7" /></a></li>
        <li>客服3<a target="blank" href="tencent://message/?uin=<?php echo ($getConf["custom_qq3"]); ?>&amp;Site=在线客服&amp;Menu=yes"><img src="http://wpa.qq.com/pa?p=1:<?php echo ($getConf["custom_qq3"]); ?>:7" /></a></li>
    </ul>
</div>
<div style="background:url(/Public/index/skin/img/qq_bottom.gif) no-repeat 0 bottom; height: 43px; "></div> -->
<script type="text/javascript">
<!--
lastScrollY=0;
function heartBeat(){ 
var diffY;
if (document.documentElement && document.documentElement.scrollTop)
	diffY = document.documentElement.scrollTop;
else if (document.body)
	diffY = document.body.scrollTop
else{}
percent=.1*(diffY-lastScrollY); 
if(percent>0)percent=Math.ceil(percent); 
else percent=Math.floor(percent); 
document.getElementById("lovexin14").style.top=parseInt(document.getElementById("lovexin14").style.top)+percent+"px";
lastScrollY=lastScrollY+percent; 
}
window.setInterval("heartBeat()",1);
//-->
</script></div>
</body>
</html>
</body>
</html>